package com.opo5.logisticsmanagement.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.opo5.logisticsmanagement.common.R;
import com.opo5.logisticsmanagement.domain.Dict;

/**
* @author lixin
* @description 针对表【tbs_dict】的数据库操作Service
* @createDate 2022-07-10 08:55:41
*/
public interface DictService extends IService<Dict> {

    R getDictByCondition(String text, String value, Integer currentPage, Integer pageSize,Boolean flag);

    R getDictById(String id);

    R addDict(Dict dict);

    R editDict(Dict dict);

    R delDict(Integer id);

    R switchDict(Integer id);
}
